feat(sleep): add DeepSeek Harness transcript source - #266
feat(sleep): add DeepSeek Harness transcript source#266Nuplum (45lab95) wants to merge 2 commits into
Conversation
|
Thanks for the narrowly scoped, read-only importer and privacy tests. The full suite passes here with the zstandard extra (1507 passed, 9 skipped), but checking the external format contract uncovered a current-version/stale-generation blocker at Current upstream DSH ( The importer only discovers I reproduced the latter offline with the PR's valid v0 fixture plus a neighboring Please select the highest canonical generation first and fail closed on unsupported generations. Then either support the currently released logical format through a validated codec/export boundary, or explicitly pin/document this as a legacy-v0-only source with a producer version and representative fixture. Please cover fresh v2-only sessions and coexisting v0/v1/v2 generations in tests. This is a concrete format-boundary issue; no DSH execution backend or paid-model experiment is needed. |
84d64ab to
2261581
Compare
|
Thanks for review. I addressed this by supporting the current v2 logical format rather than documenting DSH as a legacy-v0-only source. The importer now discovers canonical For v2, the reader now validates the published header boundary, including the required I added coverage for:
The reader remains a pure, read-only Python importer: it does not start DSH, require a DSH execution backend, or make provider calls. Validation run: |
feat(sleep): add DeepSeek Harness transcript source
Closes #225
Summary
Add a local, read-only DeepSeek Harness (DSH) transcript source for SkillOpt-Sleep.
The new explicit
--source dshconverts DSH JSONL sessions into the existingSessionDigestand mined-task pipeline. DSH is not added to--source auto,and this change does not add a DSH backend, plugin, or UI integration.
Changes
session.jsonl;session.jsonl.zstd;timestamps, and feedback-derived positive/negative signals.
attachments, feedback text, injected user-role context, subagent sessions,
and SkillOpt replay sessions.
be safely understood, without blocking other sessions.
Optional dependency
Add the optional extra:
zstandard is only needed to read DSH's default .jsonl.zstd session files.
It is not installed for users who do not use DSH, and uncompressed session.jsonl files remain readable without it.
Install with:
Validation